package com.yztc.yidoutang.activity.darenshow_activity;

import com.yztc.yidoutang.bean.DaRenShowBean;
import com.yztc.yidoutang.bean.DaRenShowListBean;

import java.util.List;
import java.util.Map;

/**
 * Created by My on 2016/10/19.
 */

public class DaRenShowContract {
    public interface View{
        public void onDaRenSuccess(List<DaRenShowListBean> list);
        public void onDaRenFail(String msg);
    };
    public interface Model{
        public void getDaRenData(Map<String,String> params, OnLoadDaRenShowListener loadDaRenShowListener);
    };
    public interface Presenter{
        public void getDataForNet(String page,String type);
    };
    public interface OnLoadDaRenShowListener{
        public void onSuccess(DaRenShowBean daRenShowBean);
        public void onFail(Exception e);
    };
}
